<?php

class m130726_165014_create_goods_table extends Migration
{
	public function up()
	{
        $this->createTable('{{store}}', array(
            'id' => 'pk',
            'name' => 'int NOT NULL',
            'url' => 'string NOT NULL',
			'spread' => 'string NOT NULL'
			'logo' => 'string NOT NULL'
            'status' => 'tinyint NOT NULL DEFAULT 1',
            'list_order' => 'int NOT NULL DEFAULT 0',
            'created_at' => 'int NOT NULL',
            'updated_at' => 'int NOT NULL',
        ));
	}

	public function down()
	{
        $this->dropTable('{{store}}');
		echo "m130726_165014_create_store_table does not support migration down.\n";
		return true;
	}

}
